home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / junkMail.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-07-25  |  6.8 KB  |  167 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.    -
  6.    - The contents of this file are subject to the Mozilla Public License Version
  7.    - 1.1 (the "License"); you may not use this file except in compliance with
  8.    - the License. You may obtain a copy of the License at
  9.    - http://www.mozilla.org/MPL/
  10.    -
  11.    - Software distributed under the License is distributed on an "AS IS" basis,
  12.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.    - for the specific language governing rights and limitations under the
  14.    - License.
  15.    -
  16.    - The Original Code is mozilla.org code.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corp.
  20.    - Portions created by the Initial Developer are Copyright (C) 2002
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -   Seth Spitzer <sspitzer@netscape.com>
  25.    -   Dan Mosedale <dmose@netscape.com>
  26.    -
  27.    - Alternatively, the contents of this file may be used under the terms of
  28.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  29.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30.    - in which case the provisions of the GPL or the LGPL are applicable instead
  31.    - of those above. If you wish to allow use of your version of this file only
  32.    - under the terms of either the GPL or the LGPL, and not to allow others to
  33.    - use your version of this file under the terms of the MPL, indicate your
  34.    - decision by deleting the provisions above and replace them with the notice
  35.    - and other provisions required by the LGPL or the GPL. If you do not delete
  36.    - the provisions above, a recipient may use your version of this file under
  37.    - the terms of any one of the MPL, the GPL or the LGPL.
  38.    -
  39.    - ***** END LICENSE BLOCK ***** -->
  40.  
  41. <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
  42.  
  43. <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
  44.  
  45. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/junkMail.dtd">
  46.  
  47. <dialog id="junkMailDialog"
  48.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  49.         xmlns:nc="http://home.netscape.com/NC-rdf#"
  50.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  51.         windowtype="mailnews:junk"
  52.         title="&window.title;"
  53.         onload="onJunkMailLoad();"
  54.         buttons="accept,cancel,help"
  55.         ondialogaccept="return onAccept();"
  56.         ondialoghelp="return doHelpButton();"
  57.         persist="screenX screenY">
  58.  
  59.   <script type="application/x-javascript" src="chrome://messenger/content/junkMail.js"/>
  60.   <script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/>
  61.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  62.  
  63.   <stringbundleset id="stringbundleset">
  64.     <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  65.   </stringbundleset>
  66.  
  67.   <hbox align="center">
  68.     <label value="&account.label;" accesskey="&account.accesskey;" control="server"/>
  69.     <menulist oncommand="onServerClick(event);" id="server">
  70.       <menupopup datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
  71.                  sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
  72.                  sortDirection="ascending" ref="msgaccounts:/">
  73.         <template>
  74.           <rule nc:IsServer="true" nc:ServerType="nntp">
  75.             <!-- no support for news yet -->
  76.           </rule>
  77.           <rule nc:IsServer="true">
  78.             <menuitem uri="..." value="..."
  79.                  class="folderMenuItem menuitem-iconic"
  80.                  IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
  81.                  IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
  82.                  ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
  83.                  label="rdf:http://home.netscape.com/NC-rdf#Name"/>
  84.           </rule>
  85.         </template>
  86.       </menupopup>
  87.     </menulist>
  88.  
  89.     <spacer flex="1"/>
  90.     <button label="&viewLog.label;" accesskey="&viewLog.accesskey;" oncommand="junkLog()"/>
  91.   </hbox>
  92.  
  93.   <description width="1">&info1.label;</description>
  94.   <description width="1">&info2.label;</description>
  95.  
  96.   <checkbox id="level" oncommand="conditionallyEnableUI(null);" accesskey="&level.accesskey;" label="&level.label;"/>
  97.  
  98.   <vbox align="start">
  99.     <checkbox id="useWhiteList" oncommand="conditionallyEnableUI('useWhiteList')" accesskey="&whitelist.accesskey;" label="&whitelist.label;"/>
  100.     
  101.     <hbox>
  102.       <spacer width="20px"/>
  103.       <menulist id="whiteListAbURI">
  104.        <menupopup id="abPopup-menupopup" ref="moz-abdirectory://" 
  105.                  datasources="rdf:addressdirectory"
  106.                  sortActive="true"
  107.                  sortDirection="ascending"
  108.                  sortResource="http://home.netscape.com/NC-rdf#DirTreeNameSort">
  109.           <template>
  110.           <rule nc:IsWriteable="false"/>
  111.             <rule nc:IsMailList="false">
  112.               <menuitem uri="..."
  113.                     label="rdf:http://home.netscape.com/NC-rdf#DirName"
  114.                     value="rdf:http://home.netscape.com/NC-rdf#DirUri"/>
  115.             </rule>
  116.           </template>
  117.         </menupopup>
  118.       </menulist>
  119.     </hbox>
  120.   </vbox>
  121.  
  122.   <vbox align="start">
  123.     <checkbox id="moveOnSpam" oncommand="conditionallyEnableUI('moveOnSpam')" label="&move.label;"/>
  124.     <radiogroup id="moveTargetMode">
  125.       <grid class="specialFolderPickerGrid">
  126.         <columns>
  127.           <column flex="1"/>
  128.           <column flex="1"/>
  129.         </columns>
  130.         <rows>
  131.           <row align="center">
  132.             <radio id="moveTargetMode0" oncommand="conditionallyEnableUI('moveOnSpam')"
  133.                    value="0" label="&junkFolderOn.label;"/> 
  134.               <menulist id="actionTargetAccount" flex="1"/>
  135.           </row> 
  136.           <row align="center">
  137.             <radio id="moveTargetMode1" oncommand="conditionallyEnableUI('moveOnSpam')"
  138.                value="1" label="&otherFolder.label;"/>
  139.               <menulist id="actionTargetFolder"/>
  140.           </row>
  141.         </rows>
  142.       </grid>
  143.     </radiogroup>
  144.     
  145.     <hbox align="center">
  146.       <spacer width="20px"/>
  147.       <checkbox id="purge" oncommand="conditionallyEnableUI('purge')" accesskey="&purge1.accesskey;" label="&purge1.label;"/>
  148.       <textbox size="3" id="purgeInterval" />
  149.       <label id="purgeLabel" value="&purge2.label;"/>
  150.     </hbox>
  151.   </vbox>
  152.  
  153.   <checkbox id="markAsReadOnSpam" oncommand="conditionallyEnableUI('markAsReadOnSpam')" label="&markAsReadOnSpam.label;"/>
  154.  
  155.   <vbox align="start">
  156.     <checkbox id="manualMark" oncommand="conditionallyEnableUI('manualMark')" label="&manualMark.label;"/>
  157.     <hbox>
  158.       <spacer width="20px"/>
  159.       <radiogroup id="manualMarkMode">
  160.         <radio id="manualMarkMode0" value="0" label="&manualMarkModeMove.label;"/> 
  161.         <radio id="manualMarkMode1" value="1" label="&manualMarkModeDelete.label;"/> 
  162.       </radiogroup>
  163.     </hbox>   
  164.   </vbox>
  165.  
  166. </dialog>
  167.